package com.waiting.java8.feature;

/**
 * @author bjweitingting
 * @description
 * @date 2018/8/21
 **/
public interface DefaultInterface {

    int param = 123;

    default void test() {
        System.out.println("this is the first default");
        staticFunction();
        muban();
    }

    default void test(String test) {
        System.out.println("this is the second default..." + test);
    }

    static void staticFunction() {
        System.out.println("this is static function");
    }

    void muban();
}
